package exercicios.resolucoes.lista01.e03;

/**
 *
 * @author Borelli
 */
public class ContaCorrente extends Conta {
    
    private int Operacao = 1;
    private double taxa;
        
    public void aplicarTaxa() {
        System.out.println("Aplicou a taxa na conta");
        super.debitar(getTaxa());
    }

    /**
     * @return the Operacao
     */
    public int getOperacao() {
        return Operacao;
    }

    /**
     * @return the taxa
     */
    public double getTaxa() {
        return taxa;
    }

    /**
     * @param taxa the taxa to set
     */
    public void setTaxa(double taxa) {
        this.taxa = super.getSaldo() * (taxa/100);
    }
    
    
    
}
